//
//  RGUserInfoModel.h
//  RedGrass
//
//  Created by wukong on 2019/1/2.
//  Copyright © 2019年 hongcaosp. All rights reserved.
//

#import "JSONModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface RGUserInfoModel : JSONModel

@property (strong, nonatomic) NSString *birthday;//生日
@property (assign, nonatomic) NSInteger collectionCounts;//收藏数量
@property (copy, nonatomic) NSString *createTime;
@property (strong, nonatomic) NSString *email;
@property (assign, nonatomic) NSInteger fansCounts;//粉丝数量
@property (assign, nonatomic) NSInteger followCounts;//关注数量
@property (assign, nonatomic) NSInteger dynamicCount;
@property (assign, nonatomic) NSInteger worksCount;
@property (assign, nonatomic) NSInteger ID;//用户id
@property (strong, nonatomic) NSString  *idNumber;
@property (strong, nonatomic) NSString  *image;//头像
@property (assign, nonatomic) BOOL  isVip;//0不是1是
@property (assign, nonatomic) NSInteger likeCounts;//喜欢数量
@property (nonatomic,assign) NSInteger likeVideoCount;
@property (strong, nonatomic) NSString *locality;//地区
@property (strong, nonatomic) NSString *mobile;//手机号码
@property (strong, nonatomic) NSString *name;
@property (strong, nonatomic) NSString *nickname;//昵称
@property (strong, nonatomic) NSString *opendId;
@property (strong, nonatomic) NSString *password;
@property (assign, nonatomic) NSInteger sex;//性别， 0未知，1男，2女
@property (assign, nonatomic) NSInteger status;// 0正常 1封禁
@property (strong, nonatomic) NSString *token;//用户token
@property (assign, nonatomic) NSInteger type;
@property (copy, nonatomic) NSString *userCode;//抖音号
@property (strong, nonatomic) NSString *userComment;//个性签名
@property (strong, nonatomic) NSString *vipExpiration;//vip过期时间
@property (assign, nonatomic) NSInteger vipLevel;
@property (strong, nonatomic) NSString *vipStartTime;//vip开始时间
@property (nonatomic,copy) NSString *schoolName;//学校
@property (nonatomic,copy) NSString *invitationCode;  //邀请码

+(void)storeUserInfo:(RGUserInfoModel *)user;
+(RGUserInfoModel *)getUserInfo;

@end

NS_ASSUME_NONNULL_END
